<style lang="less">
    @import "./main.less";
</style>
<template>
    <div class="main" >
        <div >
           菜单
        </div>
        <div >
            <div class="single-page">
                <router-view></router-view>
            </div>
        </div>
    </div>
</template>
<script>
import Cookies from 'js-cookie';

export default {
    data () {
        return {
            userName: ''
        };
    },
    computed: {
    },
    methods: {
        init () {
            this.userName = Cookies.get('user');
        }
    },
    mounted () {
        this.init();
    }
};
</script>
